/* 通用样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

ul {
	list-style: none;
}

/* 全局变量和公共样式 */
.w {
	width: var(--w);
	margin: 0 auto;
}

.tongan {
	min-width: var(--w);
}

:root {
	--w: 1230px;
	--primary-color: #666;
	--secondary-color: #80c2cc;
	--accent-color: #ff6700;
	--light-gray: #f5f5f5;
	--medium-gray: #e0e0e0;
	--dark-gray: #333;
	--font-family: 'Open Sans', sans-serif;
}

html {
	scroll-behavior: smooth;
	font-family: var(--font-family);
}

/* 清除浮动 */
.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

/* 头部样式 */
.top-bar {
	height: 40px;
	background: linear-gradient(to bottom, var(--primary-color), #555);
	display: flex;
	align-items: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

.top-nav-wrapper {
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* 导航条左边 */
.top-nav-left {
	height: 100%;
	margin: 0 20px;
	float: left;
}

.top-nav-left>ul {
	height: 100%;
	display: flex;
}

.top-nav-left>ul>li {
	display: inline-block;
	margin-right: 20px;
}

.top-nav-left a {
	line-height: 40px;
	text-decoration: none;
	color: var(--secondary-color);
	font-size: 14px;
	margin: 0 10px;
	transition: color 0.3s ease;
	font-weight: 600;
}

.top-nav-left a:hover {
	color: var(--accent-color);
}

/* 导航条右边 */
.top-nav-right {
	height: 100%;
	float: right;
	margin: 0 20px;
}

.top-nav-right>ul {
	height: 100%;
	display: flex;
	align-items: center;
}

.top-nav-right>ul>li {
	display: inline-block;
	position: relative;
	vertical-align: middle;
	margin-left: 20px;
	color: var(--secondary-color);
}

.top-nav-right a {
	line-height: 40px;
	text-decoration: none;
	color: var(--secondary-color);
	font-size: 14px;
	transition: color 0.3s ease;
	font-weight: 600;
}

.top-nav-right a:hover {
	color: var(--accent-color);
}

.top-nav-right>ul>span {
	display: inline-block;
	height: 20px;
	border-left: 1px solid var(--dark-gray);
	margin: 0 10px;
	vertical-align: middle;
}

.right-img {
	width: 180px;
	position: absolute;
	border: 1px solid var(--medium-gray);
	top: 100%;
	left: -50%;
	display: none;
	box-sizing: border-box;
	background-color: #fff;
	text-align: center;
	z-index: 99;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 10px;
	transition: opacity 0.3s ease;
}

.top-nav-right img {
	width: 80%;
	height: auto;
	margin-top: 10px;
}

.top-nav-right p {
	font-size: 12px;
	line-height: 160%;
	margin-top: 5px;
}

.top-nav-right>ul>li:hover div {
	display: block;
	opacity: 1;
}

.lists-title {
	position: relative;
}



.lists-title:hover div {
	display: block;
}

div.lists-wrapper {
	position: absolute;
	top: 100%;
	right: -10%;
	width: 300px;
	background-color: #fff;
	z-index: 10000;
	display: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 10px;
	transition: opacity 0.3s ease;
}

.lists-wrapper img {
	width: 30%;
	height: auto;
	float: left;
	margin-right: 10px;
}

.lists-wrapper>div>span {
	overflow: hidden;
	text-align: left;
	display: block;
	margin-bottom: 30px;
	color: var(--dark-gray);
}

ul.lists {
	z-index: 10000000;
	text-align: center;
	padding: 0;
}

ul.lists>li {
	font-size: 0;
}

ul.lists>li>span {
	display: inline-block;
	border: none;
	vertical-align: top;
	margin-left: 20px;
	margin-top: 20px;
	font-size: 14px;
	color: var(--dark-gray);
}

ul.lists>li>a {
	display: block;
	color: var(--dark-gray);
	width: 100%;
	height: 100%;
	transition: background-color 0.3s ease;
}

ul.lists>li:hover {
	background-color: var(--medium-gray);
}

/*  */
.nav-bar {
	height: 80px;
	background-color: #fff;
	position: relative;
	box-sizing: border-box;
	padding: 20px 0;
	margin-top: 40px;
}

/* logo */
.nav-logo {
	width: auto;
	height: 100%;
	float: left;
}

.nav-logo img {
	height: 50px;
	width: 116px;
	background-size: auto 50px;
	margin-left: 20px;
}

/* 搜索框 */
.search {
	float: right;
	margin-top: 10px;
}

.search>input {
	height: 20px;
	width: 150px;
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
	padding: 0 5px;
}

/* 一级菜单 */
.menu-wrapper-left {
	float: left;
	height: 50px;
}

.menu-wrapper-left>ul {
	height: 100%;
	box-sizing: border-box;
	margin-left: 20px;
}

.menu-wrapper-left>ul>li {
	display: inline-block;
	padding: 10px 0;
	text-align: center;
}

.menu-wrapper-left>ul>li:hover {
	border-bottom: 5px solid var(--accent-color);
	color: var(--accent-color);
}

.menu-wrapper-left>ul>li>a:hover {
	color: var(--accent-color);
}

.menu-wrapper-left a {
	display: block;
	margin: 0 10px;
	font-size: 14px;
	text-decoration: none;
	color: var(--dark-gray);
}

.menu-wrapper-left div {
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	height: 0;
	overflow: hidden;
	background-color: #fff;
	transition: height 0.4s ease;
	z-index: 11111111111;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 二级菜单 */
ul.menu-main {
	font-size: 0;
	height: 0;
	box-sizing: border-box;
}

ul.menu-main>li {
	width: calc(100% / 5);
	box-sizing: border-box;
	display: inline-block;
}

ul.menu-main>li>a>p {
	font-size: 10px;
	color: var(--dark-gray);
}

ul.menu-main>li>a>img {
	height: auto;
	width: 50%;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-wrapper-left>ul>li:hover>div {
	height: 170px;
	border: 1px solid var(--medium-gray);
	border-top: none;
	z-index: 111111;
}

.menu-wrapper-right {
	float: right;
	height: 50px;
	margin-right: 10px;
}

.menu-wrapper-right>ul {
	height: 100%;
	box-sizing: border-box;
	margin-left: 20px;
}

.menu-wrapper-right>ul>li {
	display: inline-block;
	padding: 10px 0;
	text-align: center;
}

.menu-wrapper-right>ul>li:hover {
	color: var(--accent-color);
}

.menu-wrapper-right>ul>li>a:hover {
	color: var(--accent-color);
}

.menu-wrapper-right a {
	display: block;
	margin: 0 10px;
	font-size: 14px;
	text-decoration: none;
	color: var(--dark-gray);
}

.menu-wrapper-right>ul::before {
	content: "";
	height: 100%;
	border: 1px solid var(--medium-gray);
	margin-right: 5px;
}

.list-title-wrapper {
	background-color: var(--light-gray);
	height: 40px;
}

.list-title {
	line-height: 40px;
	font-size: 14px;
}

.list-title a {
	color: var(--dark-gray);
	text-decoration: none;
	transition: color 0.3s ease;
}

.list-title a:hover {
	color: var(--accent-color);
}

.list-left {
	float: left;
	width: 20%;
	background-color: var(--light-gray);
	margin-right: 20px;
}

ul.list {
	width: 100%;
	text-align: center;
	margin: 30px 0;
}

ul.list h3 {
	margin-bottom: 40px;
	color: var(--dark-gray);
}

ul.list li {
	margin: 15px 0;
}

ul.list a {
	text-decoration: none;
	color: var(--dark-gray);
	transition: color 0.3s ease;
}



ul.list a:hover {
	color: var(--accent-color);
}
.list-center {
	overflow: hidden;
	position: relative;
	background-color: #fff;
	margin-top: 40px;
	padding: 0 20px;
	/* height: 1200px; 移除固定高度 */
	min-height: 600px; /* 设置最小高度 */
	border: 1px solid var(--medium-gray);
}

.profile-top-wrapper {
	padding: 0 40px;
	border-bottom: 1px solid var(--medium-gray);
}

.profile-top-wrapper>div {
	display: inline-block;
	margin-bottom: 40px;
}

.profile-top-img {
	padding: 20px 0;
	margin-top: 20px;
}

.profile-top-img>img {
	width: 90%;
	border: 1px solid var(--dark-gray);
	border-radius: 50%;
	vertical-align: top;
}

.profile-top-container {
	vertical-align: top;
	padding: 20px 0;
	margin-top: 20px;
}

.profile {
	font-size: 0;
	padding: 20px 0;
	margin-bottom: 20px;
}

.profile>span {
	vertical-align: top;
	display: inline-block;
	font-size: 16px;
	color: var(--dark-gray);
}

.profile>a {
	display: inline-block;
	font-size: 14px;
	text-decoration: none;
	color: var(--accent-color);
	margin-left: 10px;
}

.profile-top-sub {
	position: relative;
}

.profile-top-sub>p {
	font-size: 14px;
	color: var(--dark-gray);
}

.profile-top-sub>p>span {
	padding: 5px 5px;
	background-color: var(--accent-color);
	color: #fff;
}

.profile-top-sub img {
	width: 80%;
	position: absolute;
	left: 100%;
	transform: translateY(-50%);
	display: none;
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-top-sub>p>span:hover+img {
	display: block;
}

.profile-top-main {
	margin-left: 200px;
	vertical-align: top;
	padding: 40px 0;
	margin-top: 20px;
}

.profile-top-main>span {
	display: block;
	margin-bottom: 15px;
	color: var(--dark-gray);
}

.profile-top-main>div>button {
	width: 60px;
	height: 30px;
	margin-left: 10px;
	background-color: var(--accent-color);
	color: #fff;
	border: none;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.profile-top-main>div>button:hover {
	background-color: #ff832b;
}

.profile-container-wrapper {
	margin-top: 40px;
}

.profile-container-title {
	font-size: 0;
	text-align: justify;
	margin-bottom: 40px;
}

.profile-container-title>h6 {
	display: inline-block;
	font-size: 24px;
	font-weight: 600;
	color: var(--dark-gray);
}

.profile-container-title>span {
	display: inline-block;
	font-size: 16px;
	color: var(--dark-gray);
}

.profile-container-title::after {
	content: "";
	display: inline-block;
	width: 100%;
}

.profile-container {
	font-size: 0;
	border-bottom: 1px solid var(--medium-gray);
}

.profile-container-main {
	display: inline-block;
	border: 1px solid var(--medium-gray);
	width: 70%;
	height: 300px;
	position: relative;
	margin-right: 20px;
	vertical-align: top;
}

.profile-container-main>img {
	width: 30%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-container-sub {
	display: inline-block;
	height: 300px;
	width: 25%;
	margin-right: 20px;
	vertical-align: top;
}

.profile-container-sub>div {
	width: 100%;
	box-sizing: border-box;
	height: calc((100% - 20px) / 2);
	border: 1px solid var(--medium-gray);
	margin-bottom: 20px;
	text-align: center;
	padding: 20px;
	position: relative;
	border-radius: 4px;
}

.profile-container-sub>div>span {
	font-size: 16px;
	color: var(--dark-gray);
}

.profile-container-sub img {
	position: absolute;
	width: 80%;
	right: 90%;
	top: -10%;
	cursor: pointer;
	z-index: 2;
	border: 1px solid var(--medium-gray);
	display: none;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-container-sub>div>button {
	display: block;
	margin-left: 30px;
	width: 120px;
	height: 30px;
	margin-top: 20px;
	background-color: var(--accent-color);
	color: #fff;
	border: none;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.profile-container-sub>div>button:hover {
	background-color: #ff832b;
}

.profile-container-sub>div>button:hover+img {
	display: block;
}

.profile-container>span {
	display: inline-block;
	font-size: 14px;
	margin-top: 20px;
	margin-bottom: 40px;
	margin-right: 10px;
	color: #b0b0b0;
	transition: color 0.3s ease;
}

.profile-container>span:hover {
	color: var(--accent-color);
}

.profile-bottom-wrapper {
	margin-top: 40px;
}

.profile-bottom-title {
	font-size: 0;
	text-align: justify;
	margin-bottom: 40px;
}

.profile-bottom-title>h6 {
	display: inline-block;
	font-size: 24px;
	font-weight: 600;
	color: var(--dark-gray);
}

.profile-bottom-title>span {
	display: inline-block;
}

.profile-bottom-title>span>i {
	padding: 5px;
	margin-left: 10px;
	border: 1px solid var(--dark-gray);
	border-radius: 4px;
	color: var(--dark-gray);
	transition: background-color 0.3s ease;
}

.profile-bottom-title>span>i:hover {
	background-color: var(--medium-gray);
}

.profile-bottom-title::after {
	content: "";
	display: inline-block;
	width: 100%;
}

.profile-bottom {
	font-size: 0;
	text-align: justify;
}

.profile-bottom>div {
	display: inline-block;
	width: calc((100% - 60px) / 4);
	border: 1px solid var(--medium-gray);
	padding: 20px 0;
	border-radius: 4px;
	transition: box-shadow 0.3s ease;
}

.profile-bottom>div:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-bottom::after {
	content: "";
	display: inline-block;
	width: 100%;
}

.profile-bottom>div>img {
	width: 60%;
	margin-left: 40px;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-bottom>div>p {
	display: block;
	font-size: 14px;
	margin: 10px 0;
	margin-left: 10px;
	color: var(--dark-gray);
}

.profile-bottom>div>span {
	font-size: 14px;
	color: var(--accent-color);
	margin-left: 80px;
}

/* 最下面的部分 */
.bottom-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	margin-top: 100px;
	padding: 30px 0;
	border-top: 1px solid var(--medium-gray);
	background-color: var(--light-gray);
}

.bottom {
	display: inline-block;
	margin-right: 60px;
	vertical-align: text-top;
	margin-top: 0;
}

.bottom h4 {
	font-size: 14px;
	margin-bottom: 10px;
	color: var(--dark-gray);
	font-weight: 600;
}

.bottom a {
	text-decoration: none;
	color: var(--dark-gray);
	font-size: 12px;
	transition: color 0.3s ease;
}

.bottom a:hover {
	color: var(--accent-color);
	text-decoration: underline;
}

.bottom li {
	font-size: 12px;
	margin-bottom: 5px;
}

.bottom>div {
	height: 120px;
	width: 120px;
	margin-left: -10px;
	margin-top: 10px;
}

.bottom img {
	width: 80%;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bottom p {
	margin-top: 20px;
	font-size: 10px;
	color: #b0b0b0;
}

.bottom button {
	width: 100px;
	height: 40px;
	color: var(--dark-gray);
	margin-top: 20px;
	font-size: 12px;
	background-color: var(--light-gray);
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.bottom button:hover {
	background-color: var(--medium-gray);
}

.bottom-last {
			  margin-left: 60px;
			  margin-right: 0;
		  }

iframe {
	display: block;
	width: 100%;
	height: 60px;
	border: none;
}

.profile-content.show {
	display: block;
}
.list-left a.active {
	color: var(--accent-color);
	font-weight: bold;
}
.order_box_in{
	width:280px;
	margin-left: 8px;
	float: left;
	border: 1px solid var(--accent-color);
	border-radius: 5px;
}
.order_box{
	content: "";
	display: block;
	clear: both;
}
.active {
	color: var(--accent-color);
}
.default-address {
	border: 2px solid #FF5722; /* 设置边框颜色 */
}

/**/
/* 为收藏内容区域添加滚动条 */
.profile-content[_win="collection"] .order_box {
	max-height: 500px; /* 设置最大高度，超出则出现滚动条 */
	overflow-y: auto;
}

/* 收藏项样式 */
.collect-item {
	display: flex;
	align-items: center;
	padding: 10px;
	border: 1px solid #e0e0e0;
	margin-bottom: 10px;
	border-radius: 5px;
	background-color: #fff;
	transition: transform 0.3s ease;
}

.collect-item:hover {
	transform: scale(1.02);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 收藏项图片样式 */
.collect-item-img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	margin-right: 20px;
	border-radius: 5px;
}

/* 收藏项信息区域样式 */
.collect-item-info {
	flex: 1;
}

/* 收藏项名称样式 */
.collect-item-name {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 5px;
}

/* 收藏项价格样式 */
.collect-item-price {
	font-size: 16px;
	color: #f60;
	margin-bottom: 5px;
}

/* 收藏项商品类型样式 */
.collect-item-category {
	font-size: 14px;
	color: #666;
	margin-bottom: 10px;
}

/* 取消收藏按钮样式 */
.collect-item-delete {
	background-color: #f44336;
	color: #fff;
	border: none;
	padding: 8px 15px;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.collect-item-delete:hover {
	background-color: #d32f2f;
}

 .comment-item {
	 border: 1px solid #e0e0e0;
	 padding: 15px;
	 margin-bottom: 15px;
	 border-radius: 4px;
	 background-color: #f9f9f9;
 }

.comment-user {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.comment-user-avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	margin-right: 10px;
}

.comment-user-name {
	font-weight: bold;
}

.comment-rating {
	font-weight: bold;
	color: #ff6600;
	margin-bottom: 5px;
}

.comment-content {
	line-height: 1.6;
}

.comment-product {
	display: flex;
	align-items: center;
	margin-top: 10px;
}

.comment-product-img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	margin-right: 10px;
}

.comment-addtime {
	color: #999;
}

/* 评论项样式 */
.comment-item {
	border: 1px solid #e6e6e6;
	border-radius: 5px;
	padding: 15px;
	margin-bottom: 15px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
}

.comment-item:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 评论用户信息样式 */
.comment-user {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.comment-user-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-right: 10px;
}

.comment-user-name {
	font-weight: bold;
}

/* 评论评级样式 */
.comment-rating {
	font-size: 14px;
	color: #f60;
	margin-bottom: 5px;
}

/* 评论内容样式 */
.comment-content {
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 10px;
}

/* 评论商品信息样式 */
.comment-product {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.comment-product-img {
	width: 60px;
	height: 60px;
	margin-right: 10px;
}

/* 评论时间样式 */
.comment-addtime {
	font-size: 12px;
	color: #999;
}

/* 评价列表容器样式 */
#evaluation-list {
	max-height: 400px; /* 设置最大高度，可根据实际情况调整 */
	overflow-y: auto; /* 当内容超出最大高度时，显示垂直滚动条 */
	border: 1px solid #e6e6e6; /* 可选：添加边框以区分容器 */
	padding: 10px; /* 可选：添加内边距以增加内容与边框的间距 */
}



